#ifndef INVOKE_SCRIPTS_HEADER
#define INVOKE_SCRIPTS_HEADER

#include <sys/un.h>
#include <sys/socket.h>
#include <sys/types.h>

#include <glib.h>
#include <glib/gi18n.h>

#define LOCK_FILE "/tmp/njubras-for-linux.lock"
#define SOCKET_FILE "/tmp/njubras-for-linux.socket"

#define COMMAND_LENGTH 80

#define PROMPT_WHEN_FAIL _("Can't connect to njubras-daemon.\nPlease start it with the command:\n"\
													   "sudo invoke-rc.d njubras-daemon start")

extern void call_daemon(char *command);
extern void bras_connect();
extern void bras_disconnect();
extern gboolean check_bras_connect();

#endif
